export const deviceTypeOption = {
    tooltip: {
        trigger: 'item',
        formatter: "{a} <br/>{b}: {c} ({d}%)"
    },
    series: [
        {
            name: '是否通电',
            type: 'pie',
            selectedMode: 'single',
            radius: [0, '34%'],
            color: ['#F38A3C', '#348EED', '#348EED'],
            label: {
                normal: {
                    position: 'inner'
                }
            },
            labelLine: {
                normal: {
                    show: false
                }
            },
            data: [
                { value: 1014, name: '通电' },
                { value: 1548, name: '未通电' }
            ]
        },
        {
            name: '终端设备',
            type: 'pie',
            radius: ['45%', '60%'],
            color: ['#837BE7', '#E6BDF2', '#F38A3C', '#FFCC2D', '#348EED', '#3EA3D8', '#98C0FD'],
            data: [
                { value: 551, name: '运转中' },
                { value: 463, name: '通电未运转' },
                { value: 500, name: '预约未使用' },
                { value: 1048, name: '闲置' },
            ]
        }
    ]
};
